package cn.systemManage.dao;

import cn.systemManage.bean.UserBean;
import cn.systemManage.dao.handler.ModuleDao;

public interface UserDao extends ModuleDao<UserBean>{
	/**
	 * 检查用户是否已经存在
	 * @param username
	 * @param id
	 * @return
	 * @throws Exception
	 *
	 * @author  zhanghongliang
	 * @Date    2011-4-15下午02:03:30
	 */
	public int checkIsExsit(String username,int id)throws Exception;
	
	/**
	 * 删除
	 * @param id
	 * @return
	 * @throws Exception
	 *
	 * @author  zhanghongliang
	 * @Date    2011-4-15下午05:06:03
	 */
	public int deleteUserBeanById(int id)throws Exception;
}
